package com.ocp.socket.busi.dataMilkListUtils.mapper;

import com.ocp.socket.busi.dataMilkListUtils.bean.DataMilkListVo;
import com.ocp.socket.busi.dataMilkUtils.bean.DataMilkVo;
import com.ocp.socket.busi.dataMilkUtils.bean.QueryDataMilkVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author : zhangzh
 * @description :
 * @Date Create in 13:27 2019/3/9
 * @Modified By :
 **/
@Mapper
public interface DataMilkListUtilsMapper {

    int insertDataMilkList(@Param("tableName") String tableName, @Param("dataMilkListVo") DataMilkListVo dataMilkListVo);

    int updateRunEndTimeById(@Param("tableName") String tableName, @Param("id") String id,@Param("runEndTime") String runEndTime,@Param("avgAirpL01") Double avgAirpL01,@Param("maxTempT1") Double maxTempT1,@Param("maxTempT12") Double maxTempT12);

    List<DataMilkListVo> getInfoByTableName(@Param("tableName") String tableName, @Param("hallId") Integer hallId);



}
